/*
 * @Author: zsc
 * @Date: 2022-06-13 21:56:52
 * @LastEditors: zsc
 * @LastEditTime: 2022-07-22 21:54:02
 * @Description: zsc
 */
/**
 * ======================================
 * 我的企业
 * author: sky52
 * file: business.js
 * date: 2022/7/17 0:42
 * ======================================
 */
import Layout from '@/layout'

const pre = 'business'
const router = {
  path: '/' + pre,
  component: Layout,
  redirect: '/business/info',
  name: pre,
  meta: {
    title: '企业基本情况',
    icon: 'el-icon-ly-24gl-building2',
    permissions: ['BUSINESS']
  },
  children: [
    {
      path: 'info',
      component: () => import('@/views/company/list'),
      name: pre + 'info',
      meta: {
        title: '企业信息',
        permissions: ['BUSINESS:INFO']
      }
    },
    {
      path: 'attendance',
      component: () => import('@/views/empty'),
      name: pre + 'attendance',
      meta: {
        title: '员工管理',
        permissions: ['BUSINESS:ATTENDANCE']
      }
    }
  ]
}

export default router
